package com.xxkk.spring_boot_web.sql.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RechargeOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RechargeOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumIsNull() {
            addCriterion("mchOrderNum is null");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumIsNotNull() {
            addCriterion("mchOrderNum is not null");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumEqualTo(String value) {
            addCriterion("mchOrderNum =", value, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumNotEqualTo(String value) {
            addCriterion("mchOrderNum <>", value, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumGreaterThan(String value) {
            addCriterion("mchOrderNum >", value, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("mchOrderNum >=", value, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumLessThan(String value) {
            addCriterion("mchOrderNum <", value, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumLessThanOrEqualTo(String value) {
            addCriterion("mchOrderNum <=", value, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumLike(String value) {
            addCriterion("mchOrderNum like", value, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumNotLike(String value) {
            addCriterion("mchOrderNum not like", value, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumIn(List<String> values) {
            addCriterion("mchOrderNum in", values, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumNotIn(List<String> values) {
            addCriterion("mchOrderNum not in", values, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumBetween(String value1, String value2) {
            addCriterion("mchOrderNum between", value1, value2, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andMchOrderNumNotBetween(String value1, String value2) {
            addCriterion("mchOrderNum not between", value1, value2, "mchOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumIsNull() {
            addCriterion("platOrderNum is null");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumIsNotNull() {
            addCriterion("platOrderNum is not null");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumEqualTo(String value) {
            addCriterion("platOrderNum =", value, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumNotEqualTo(String value) {
            addCriterion("platOrderNum <>", value, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumGreaterThan(String value) {
            addCriterion("platOrderNum >", value, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("platOrderNum >=", value, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumLessThan(String value) {
            addCriterion("platOrderNum <", value, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumLessThanOrEqualTo(String value) {
            addCriterion("platOrderNum <=", value, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumLike(String value) {
            addCriterion("platOrderNum like", value, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumNotLike(String value) {
            addCriterion("platOrderNum not like", value, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumIn(List<String> values) {
            addCriterion("platOrderNum in", values, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumNotIn(List<String> values) {
            addCriterion("platOrderNum not in", values, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumBetween(String value1, String value2) {
            addCriterion("platOrderNum between", value1, value2, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andPlatOrderNumNotBetween(String value1, String value2) {
            addCriterion("platOrderNum not between", value1, value2, "platOrderNum");
            return (Criteria) this;
        }

        public Criteria andRoleIdIsNull() {
            addCriterion("roleId is null");
            return (Criteria) this;
        }

        public Criteria andRoleIdIsNotNull() {
            addCriterion("roleId is not null");
            return (Criteria) this;
        }

        public Criteria andRoleIdEqualTo(String value) {
            addCriterion("roleId =", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdNotEqualTo(String value) {
            addCriterion("roleId <>", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdGreaterThan(String value) {
            addCriterion("roleId >", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdGreaterThanOrEqualTo(String value) {
            addCriterion("roleId >=", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdLessThan(String value) {
            addCriterion("roleId <", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdLessThanOrEqualTo(String value) {
            addCriterion("roleId <=", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdLike(String value) {
            addCriterion("roleId like", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdNotLike(String value) {
            addCriterion("roleId not like", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdIn(List<String> values) {
            addCriterion("roleId in", values, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdNotIn(List<String> values) {
            addCriterion("roleId not in", values, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdBetween(String value1, String value2) {
            addCriterion("roleId between", value1, value2, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdNotBetween(String value1, String value2) {
            addCriterion("roleId not between", value1, value2, "roleId");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idIsNull() {
            addCriterion("pay_goods_id is null");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idIsNotNull() {
            addCriterion("pay_goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idEqualTo(Integer value) {
            addCriterion("pay_goods_id =", value, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idNotEqualTo(Integer value) {
            addCriterion("pay_goods_id <>", value, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idGreaterThan(Integer value) {
            addCriterion("pay_goods_id >", value, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_goods_id >=", value, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idLessThan(Integer value) {
            addCriterion("pay_goods_id <", value, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idLessThanOrEqualTo(Integer value) {
            addCriterion("pay_goods_id <=", value, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idIn(List<Integer> values) {
            addCriterion("pay_goods_id in", values, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idNotIn(List<Integer> values) {
            addCriterion("pay_goods_id not in", values, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idBetween(Integer value1, Integer value2) {
            addCriterion("pay_goods_id between", value1, value2, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPay_goods_idNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_goods_id not between", value1, value2, "pay_goods_id");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIsNull() {
            addCriterion("payMoney is null");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIsNotNull() {
            addCriterion("payMoney is not null");
            return (Criteria) this;
        }

        public Criteria andPayMoneyEqualTo(BigDecimal value) {
            addCriterion("payMoney =", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotEqualTo(BigDecimal value) {
            addCriterion("payMoney <>", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyGreaterThan(BigDecimal value) {
            addCriterion("payMoney >", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("payMoney >=", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyLessThan(BigDecimal value) {
            addCriterion("payMoney <", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("payMoney <=", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIn(List<BigDecimal> values) {
            addCriterion("payMoney in", values, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotIn(List<BigDecimal> values) {
            addCriterion("payMoney not in", values, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payMoney between", value1, value2, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payMoney not between", value1, value2, "payMoney");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andGameCoinIsNull() {
            addCriterion("gameCoin is null");
            return (Criteria) this;
        }

        public Criteria andGameCoinIsNotNull() {
            addCriterion("gameCoin is not null");
            return (Criteria) this;
        }

        public Criteria andGameCoinEqualTo(Long value) {
            addCriterion("gameCoin =", value, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinNotEqualTo(Long value) {
            addCriterion("gameCoin <>", value, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinGreaterThan(Long value) {
            addCriterion("gameCoin >", value, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinGreaterThanOrEqualTo(Long value) {
            addCriterion("gameCoin >=", value, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinLessThan(Long value) {
            addCriterion("gameCoin <", value, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinLessThanOrEqualTo(Long value) {
            addCriterion("gameCoin <=", value, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinIn(List<Long> values) {
            addCriterion("gameCoin in", values, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinNotIn(List<Long> values) {
            addCriterion("gameCoin not in", values, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinBetween(Long value1, Long value2) {
            addCriterion("gameCoin between", value1, value2, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andGameCoinNotBetween(Long value1, Long value2) {
            addCriterion("gameCoin not between", value1, value2, "gameCoin");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIsNull() {
            addCriterion("channelType is null");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIsNotNull() {
            addCriterion("channelType is not null");
            return (Criteria) this;
        }

        public Criteria andChannelTypeEqualTo(String value) {
            addCriterion("channelType =", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotEqualTo(String value) {
            addCriterion("channelType <>", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeGreaterThan(String value) {
            addCriterion("channelType >", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeGreaterThanOrEqualTo(String value) {
            addCriterion("channelType >=", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLessThan(String value) {
            addCriterion("channelType <", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLessThanOrEqualTo(String value) {
            addCriterion("channelType <=", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLike(String value) {
            addCriterion("channelType like", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotLike(String value) {
            addCriterion("channelType not like", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIn(List<String> values) {
            addCriterion("channelType in", values, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotIn(List<String> values) {
            addCriterion("channelType not in", values, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeBetween(String value1, String value2) {
            addCriterion("channelType between", value1, value2, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotBetween(String value1, String value2) {
            addCriterion("channelType not between", value1, value2, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannel_idIsNull() {
            addCriterion("channel_id is null");
            return (Criteria) this;
        }

        public Criteria andChannel_idIsNotNull() {
            addCriterion("channel_id is not null");
            return (Criteria) this;
        }

        public Criteria andChannel_idEqualTo(String value) {
            addCriterion("channel_id =", value, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idNotEqualTo(String value) {
            addCriterion("channel_id <>", value, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idGreaterThan(String value) {
            addCriterion("channel_id >", value, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idGreaterThanOrEqualTo(String value) {
            addCriterion("channel_id >=", value, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idLessThan(String value) {
            addCriterion("channel_id <", value, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idLessThanOrEqualTo(String value) {
            addCriterion("channel_id <=", value, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idLike(String value) {
            addCriterion("channel_id like", value, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idNotLike(String value) {
            addCriterion("channel_id not like", value, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idIn(List<String> values) {
            addCriterion("channel_id in", values, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idNotIn(List<String> values) {
            addCriterion("channel_id not in", values, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idBetween(String value1, String value2) {
            addCriterion("channel_id between", value1, value2, "channel_id");
            return (Criteria) this;
        }

        public Criteria andChannel_idNotBetween(String value1, String value2) {
            addCriterion("channel_id not between", value1, value2, "channel_id");
            return (Criteria) this;
        }

        public Criteria andJsonParamIsNull() {
            addCriterion("jsonParam is null");
            return (Criteria) this;
        }

        public Criteria andJsonParamIsNotNull() {
            addCriterion("jsonParam is not null");
            return (Criteria) this;
        }

        public Criteria andJsonParamEqualTo(Object value) {
            addCriterion("jsonParam =", value, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamNotEqualTo(Object value) {
            addCriterion("jsonParam <>", value, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamGreaterThan(Object value) {
            addCriterion("jsonParam >", value, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamGreaterThanOrEqualTo(Object value) {
            addCriterion("jsonParam >=", value, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamLessThan(Object value) {
            addCriterion("jsonParam <", value, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamLessThanOrEqualTo(Object value) {
            addCriterion("jsonParam <=", value, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamIn(List<Object> values) {
            addCriterion("jsonParam in", values, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamNotIn(List<Object> values) {
            addCriterion("jsonParam not in", values, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamBetween(Object value1, Object value2) {
            addCriterion("jsonParam between", value1, value2, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andJsonParamNotBetween(Object value1, Object value2) {
            addCriterion("jsonParam not between", value1, value2, "jsonParam");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("createTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}